home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98b.txt
/
000002_icon-group-sender _Mon Apr 27 08:10:29 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id IAA18203
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Mon, 27 Apr 1998 08:10:28 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA09125; Mon, 27 Apr 1998 08:10:26 -0700
Message-Id: <3.0.5.32.19980426052832.007a9be0@doors>
X-Sender: bgbauer#alpha.delta.edu@doors
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32)
Date: Sun, 26 Apr 1998 05:28:32 -0700
To: "Icon Group"<icon-group@optima.CS.Arizona.EDU>
From: Scissors <bgbauer@alpha.delta.edu>
Subject: A few basic questions
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 741
Hi,
Im having a little trouble understanding a few of what are probably basic
Icon programming methods.
Is it possible to evaluate expression and assign at the same time in this
manner?
if \var := expr then fail
meaning :
if /expression then fail
else var := expression
It may seem trivial, but for some reason I find myself wanting to use the
first version by default. Its easier to type and understand, takes up less
lines on the screen, but when I cant find the correct format to get it to
work.
Also is it acceptable to use "if expr then expr else expr" all on the same
line? Its getting harder to move around in my code as it gets longer with it
all '{' and '}'d on multiple lines.
Also what are string images used for?